package com.pkk.cloud.support.admin.exception.code;

import com.pkk.components.rpc.enums.CodeEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @description: 鉴权admin资源的业务code
 * @author: peikunkun
 * @create: 2020-04-22 11:43
 **/
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum OauthAdminBusinessCode implements CodeEnum<String, String> {

  /**
   * 业务码组成信息【服务信息码[3]业务信息码[3]业务码[6]】
   */


  /**
   * 客户端操作
   */
  CLIENT_NOT_EXISTS("000001000000", "客户端不存在"),

  /**
   * 接口业务操作
   */
  URL_EXISTS("000002000000", "接口已经存在"),
  URL_NOT_EXISTS("000002000001", "接口不存在"),
  ;


  String code;
  String msg;
}
